﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Data.Linq.Mapping;

namespace SSTU.Data
{
	[Table(Name = "Classes")]
	public class ClassEntity
	{
		[Column(IsPrimaryKey = true)]
		public string Id { get; set; }

		[Column(CanBeNull = true)]
		public long? StartTicks { get; set; }

		[Column(CanBeNull = true)]
		public long? EndTicks { get; set; }

		[Column(CanBeNull = true)]
		public string RoomId { get; set; }

		[Column(CanBeNull = true)]
		public string SubRoomId { get; set; }

		[Column(CanBeNull = true)]
		public string BuildingOrOrganizationId { get; set; }

		[Column(CanBeNull = true)]
		public string LecturerUserId { get; set; }

		[Column(CanBeNull = true)]
		public string LecturerUserFullName { get; set; }

		[Column(CanBeNull = true)]
		public string Theme { get; set; }

		[Column(CanBeNull = false)]
		public int Week { get; set; }

		[Column(CanBeNull = false)]
		public int Day { get; set; }
	}
}
